<?php
/**
 * Classe REPOSITORY da tabela TB_PARAM_UF
 * 
 * @author			Mário R. Castro
 * @copyright		Voitech Sistema
 * @package			SEMAS
 * @subpackage		semas.application.models
 * @version			1.0
*/
class App_Model_ParamUfRepository{

    public function listarTodos(array $arrParametro) {
        $arrDbParamUf = App_Model_Db_ParamUf::build()->listarTodos(new Voitech_TO($arrParametro));
        $arrParamUf = array();
        foreach($arrDbParamUf as $row) {
            $obParamUfMapper = new App_Model_ParamUfMapper(new App_Model_ParamUf());
            $arrParamUf[] = $obParamUfMapper->carregar($row)->getObModel();
        }
        return $arrParamUf;
    }
    
}